package com.chj.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.chj.service.AnotationUserService;

/**
 * 注解方式的service
 */
@Service(timeout = 5000)
public class AnotationUserServiceImpl implements AnotationUserService {

    @Override
    public String getDetail(String id) {
        System.out.println(super.getClass().getName()+"被调用一次："+System.currentTimeMillis());
        return "注解方式调用服端，返回测试数据10001";
    }

}
